package com.test.web.dao;
import com.test.web.entity.Wzbranch;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @author heyanjing
 * date:2020-09-09 2020/9/9:14:17
 */
public interface WzbranchDao {
    int deleteByPrimaryKey(String wzBranchId);
    int insert(Wzbranch record);
    int insertOrUpdate(Wzbranch record);
    int insertOrUpdateSelective(Wzbranch record);
    int insertSelective(Wzbranch record);
    Wzbranch selectByPrimaryKey(String wzBranchId);
    int updateByPrimaryKeySelective(Wzbranch record);
    int updateByPrimaryKey(Wzbranch record);
    int updateBatch(List<Wzbranch> list);
    int batchInsert(@Param("list") List<Wzbranch> list);
    Wzbranch getByName(@Param("name") String name);
    Wzbranch getByNameLike(@Param("likeName") String likeName);
    List<Wzbranch> find();
}